package com.tt.service;

import com.tt.mapper.MenuMapper;
import com.tt.pojo.Menu;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 青青
 */
@Service
public class MenuServiceImpl implements IMenuService
{
    @Autowired
    private MenuMapper menuMapper;

    @Override
    public List<Menu> getMenuList(Integer userId)
    {
        List<Menu> menuList = menuMapper.getMenuList(userId);
        return menuList;
    }
}
